﻿// Developer Express Code Central Example:
// World Wide CRM Demo
// 
// The World Wide CRM demo is a next generation application with outstanding
// navigation capabilities and shows a reimagined view of customer contact and
// management. This demo showcases many of the most popular features of the
// WinForms Subscription.
// 
// You can find sample updates and versions for different programming languages here:
// http://www.devexpress.com/example=E3993

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.CrmDemo.Win.Data;

namespace DevExpress.CrmDemo.Win.Controls
{
    public partial class ReportPage : BasePage
    {
        public ReportPage()
        {
            InitializeComponent();
        }

        public BindingList<Opportunity> Opportunities
        {
            set { this.reportViewer1.Opportunities = value; }
        }

        private void header1_BackRequest(object sender, EventArgs e)
        {
            OnNavRequest(new NavRequestEventArgs(States.Dashboard));
        }
    }
}